John Wiegley [Tue, 12 Jan 2016 06:48:10 +0000 (22:48 -0800)]
Merge from origin/emacs-25
9fb185a shr-tag-video bug fix
6300655 Minor fixes in tramp-tests.el
50575b1 Ensure redisplay when 'truncate-lines' is set
0d9e80d Fix a doc string of 'transient-mark-mode'
0000ae5 MS-Windows followup to latest gnulib update
4bc5e02 Spelling fix
f1093f7 Do secure signed Bcc handling
John Wiegley [Tue, 12 Jan 2016 06:48:10 +0000 (22:48 -0800)]
; Merge from origin/emacs-25
The following commit was skipped:
e79b06e Avoid stdio in SIGINT handler
John Wiegley [Tue, 12 Jan 2016 06:48:10 +0000 (22:48 -0800)]
Merge from origin/emacs-25
861022f * doc/misc/texinfo.tex: Revert unwanted copyright change.
46e47a5 ; * etc/refcards/ru-refcard.tex (cyear): Update via M-x set-copyright.
71ea138 * lisp/align.el (align): Simplify a lambda
5618a50 * lisp/align.el (align): Fix arg order in call to `align-region'
1f680db Fix compilation next-error in buffers with selective-display
d20a948 * nsm.el (nsm-check-protocol): Fix typo in the message.
1da116f Add SHA1 warnings for high network security settings
e48bacd ; * etc/NEWS: Typo fix.
John Wiegley [Tue, 12 Jan 2016 06:48:10 +0000 (22:48 -0800)]
; Merge from origin/emacs-25
The following commit was skipped:
5213ded Refactor mml-smime.el, mml1991.el, mml2015.el
John Wiegley [Tue, 12 Jan 2016 06:48:10 +0000 (22:48 -0800)]
Merge from origin/emacs-25
43662a2 ; Clarify that xref is still experimental
0a6e6ca ; * admin/release-process: Remove some obsolete records.
c2e9e3d * lisp/progmodes/fortran.el (fortran-make-syntax-propertize-function):
8637f3d (semantic-symref-derive-find-filepatterns): Return a list
0a7ad07 ; Re-arrange xref-related entries in NEWS.
fe903ef Fix xref-find-references on MS-Windows
55a28d8 ; Fixed visual bell artifact problem on NextStep.
d064034 Document new features of tildify-mode
964bea7 Document new features of Whitespace mode
cd68f47 Improve documentation of new Hide-IfDef features
723b8bf Fix regression in font-locking cl-assert and cl-check-type
John Wiegley [Tue, 12 Jan 2016 06:48:09 +0000 (22:48 -0800)]
; Merge from origin/emacs-25
The following commit was skipped:
372d00a ; Auto-commit of loaddefs files.
John Wiegley [Tue, 12 Jan 2016 06:48:07 +0000 (22:48 -0800)]
Merge from origin/emacs-25
ef33bc7 Spelling and grammar fixes
9c3dbab Fix copyright years by hand
0e96320 Update copyright year to 2016
John Wiegley [Tue, 12 Jan 2016 06:48:07 +0000 (22:48 -0800)]
; Merge from origin/emacs-25
The following commit was skipped:
9825305 Merge from gnulib
John Wiegley [Tue, 12 Jan 2016 06:48:07 +0000 (22:48 -0800)]
Merge from origin/emacs-25
9ee6ecb lisp/emacs-lisp/chart.el (chart-new-buffer): Move to silence byte compiler.
526d80c Port chart.el methods to cl-generic.
410bb69 Add nt/INSTALL.W64 build instructions
8f5b524 Add new input method 'programmer-dvorak'
6d11f6e Allow to invoke original M-TAB binding in 'flyspell-prog-mode'
bb83bb1 Fix EWW rendering of long RTL lines
b1a8509 fix bug#21054
ce5ad12 Clean up cairo printing code
John Wiegley [Tue, 12 Jan 2016 06:48:07 +0000 (22:48 -0800)]
; Merge from origin/emacs-25
The following commit was skipped:
30f4a89 Move variables to inner loop, preparing for Mac port merge
John Wiegley [Tue, 12 Jan 2016 06:48:07 +0000 (22:48 -0800)]
Merge from origin/emacs-25
6ee327d Add handle_user_signal_hook
47580e0 Avoid writing to purespace
0588be7 Remove unused variable
89e7483 * configure.ac: Find libxml2 headers in Xcode SDK dir on Darwin.
3b95e9c Use posix_openpt instead of openpty on Darwin
86312ff Document support for ':documentation' in Lisp mode
c930e75b Document new features of TeX mode
7c83d84 Clarify docs of hscroll in RTL text
4c8f8db Fix rendering of HTML pages that use character composition
a8d37ca Avoid some compiler warnings in w32.c
ce106f3de Undo ill-advised change
be0bba4 Unbreak completion in python-mode buffers
Glenn Morris [Sun, 10 Jan 2016 11:24:04 +0000 (06:24 -0500)]
; Auto-commit of ChangeLog files.
Andrew Hyatt [Sat, 9 Jan 2016 05:14:03 +0000 (00:14 -0500)]
Adding example replies to bug-triage.
* admin/notes/bug-triage: Added example replies. Also, as requested,
making the process notes into more of a checklist.
Andrew Hyatt [Sat, 9 Jan 2016 04:04:59 +0000 (23:04 -0500)]
Rename the notes/admin/triage file to bug-triage.
* CONTRIBUTE: Change reference to the triage file name.
* admin/notes/triage: Rename file to admin/notes/bug-triage.
K. Handa [Fri, 8 Jan 2016 14:21:43 +0000 (23:21 +0900)]
Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs
K. Handa [Fri, 8 Jan 2016 14:21:15 +0000 (23:21 +0900)]
Fix outdated comments.
Glenn Morris [Thu, 7 Jan 2016 07:51:34 +0000 (23:51 -0800)]
; * lisp/emacs-lisp/autoload.el (autoload-timestamps): Doc tweak.
Glenn Morris [Thu, 7 Jan 2016 07:35:53 +0000 (23:35 -0800)]
; * lisp/emacs-lisp/autoload.el update-directory-autoloads): Fix typo in previous.
Glenn Morris [Thu, 7 Jan 2016 07:33:33 +0000 (23:33 -0800)]
Allow creation of loaddefs files without timestamps.
* lisp/emacs-lisp/autoload.el (autoload-timestamps): New variable.
(autoload-generate-file-autoloads, update-directory-autoloads):
If autoload-timestamps is nil, write "t" instead of file timestamp.
(autoload-find-destination, update-directory-autoloads):
If timestamp is "t", use the modtime of the output file instead.
; * etc/NEWS: Mention this.
Glenn Morris [Thu, 7 Jan 2016 01:49:26 +0000 (20:49 -0500)]
; * etc/NEWS (Changes in Frame- and Window- Handling): Demote section.
Glenn Morris [Thu, 7 Jan 2016 01:45:14 +0000 (20:45 -0500)]
; * etc/NEWS: Add other main section headings for 25.2.
Glenn Morris [Wed, 6 Jan 2016 23:48:40 +0000 (18:48 -0500)]
; * lisp/Makefile.in: Comment update.
Glenn Morris [Wed, 6 Jan 2016 23:34:22 +0000 (18:34 -0500)]
Doc tweaks.
* lisp/calendar/cal-hebrew.el (diary-hebrew-list-entries):
* lisp/calendar/cal-iso.el (calendar-iso-to-absolute)
(calendar-iso-from-absolute):
* lisp/calendar/cal-tex.el (cal-tex-comment):
* lisp/calendar/solar.el (calendar-time-display-form): Doc tweaks.
Glenn Morris [Wed, 6 Jan 2016 23:25:47 +0000 (18:25 -0500)]
Build tweaks related to tags files.
* lib-src/Makefile.in (tagsfiles): New variable.
(TAGS): Also depend on the source files. Use our own etags program.
* lisp/Makefile.in (ETAGS): Add EXEEXT.
(lisptagsfiles1, lisptagsfiles2, lisptagsfiles3, lisptagsfiles4):
Remove.
(tagsfiles): New, replacing lisptagsfiles1 etc.
Remove irrelevant source files here rather than in the TAGS rule.
(${ETAGS}): New rule.
(TAGS): Also depend on the etags executable.
* lwlib/Makefile.in (EXEEXT): New, set by configure.
(ETAGS): Add EXEEXT.
(${ETAGS}): New rule.
(ctagsfiles): Use "wildcard".
(TAGS): Also depend on the etags executable.
* nt/Makefile.in (ETAGS, tagsfiles): New variables.
(${ETAGS}): New rule.
(TAGS): Fix dependencies.
* oldXMenu/Makefile.in (EXEEXT): New, set by configure.
(ETAGS): New variable, replacing $TAGS. Use our own etags program.
Remove "-t" argument.
(${ETAGS}): New rule.
(tagsfiles): New variable.
(TAGS): New rule, with proper dependencies.
* src/Makefile.in (ETAGS): Add EXEEXT. Add a build rule.
(ctagsfiles1, ctagsfiles2): Use "wildcard".
(ctagsfiles3): Remove.
(TAGS): Depend on etags.
(../lisp/TAGS, $(lwlibdir)/TAGS): Let the rules in the relevant
directories decide if updates are needed.
Glenn Morris [Wed, 6 Jan 2016 22:40:00 +0000 (17:40 -0500)]
* lisp/Makefile.in (CAL_SRC): Skip calendar.el.
Glenn Morris [Wed, 6 Jan 2016 18:08:35 +0000 (13:08 -0500)]
* test/lisp/emacs-lisp/package-tests.el
(package-test-macro-compilation): Fixup branch merge.
Eli Zaretskii [Tue, 5 Jan 2016 18:21:03 +0000 (20:21 +0200)]
Fix fallout from merging emacs-25 branch in test/
* .gitignore: Update for the new place of biditest.txt.
* test/automated/: Directory removed. All files moved to their
proper places.
* test/etags/: Directory removed. All files moved to their proper
places.
* test/automated/url-parse-tests.el: File removed; it was an exact
copy of the same file in test/lisp/url/.
* test/automated/url-expand-tests.el: Moved to test/lisp/url/.
Eli Zaretskii [Tue, 5 Jan 2016 18:03:38 +0000 (20:03 +0200)]
; * etc/NEWS: Mention 2 newly introduced variables.
Paul Eggert [Mon, 4 Jan 2016 22:46:35 +0000 (14:46 -0800)]
Spelling fixes
Daniel Colascione [Mon, 4 Jan 2016 22:12:01 +0000 (14:12 -0800)]
Let users disable unsafe signal handling code
* src/keyboard.c (syms_of_keyboard): New user variables
`attempt-stack-overflow-recovery' and
`attempt-orderly-shutdown-on-fatal-signal'.
* src/sysdep.c (stack_overflow): Check
`attempt-stack-overflow-recovery'.
* src/emacs.c (terminate_due_to_signal): Check
`attempt-orderly-shutdown-on-fatal-signal'.
Lars Magne Ingebrigtsen [Mon, 4 Jan 2016 22:03:16 +0000 (23:03 +0100)]
shr-tag-video bug fix
* shr.el (shr-tag-video): Protect against the `poster' being
empty.
Michael Albinus [Mon, 4 Jan 2016 18:25:39 +0000 (19:25 +0100)]
Minor fixes in tramp-tests.el
* test/automated/tramp-tests.el (tramp-test26-process-file):
Move point properly.
(tramp-test29-vc-registered): Work with relative file names.
Eli Zaretskii [Mon, 4 Jan 2016 17:08:37 +0000 (19:08 +0200)]
Ensure redisplay when 'truncate-lines' is set
* lisp/frame.el (redisplay--variables): Add 'truncate-lines'.
(Bug#22303)
Eli Zaretskii [Mon, 4 Jan 2016 16:58:20 +0000 (18:58 +0200)]
Fix a doc string of 'transient-mark-mode'
* src/buffer.c (syms_of_buffer) <transient-mark-mode>: Prevent
"lambda" in doc string from becoming a link to lambda expressions.
Eli Zaretskii [Mon, 4 Jan 2016 16:25:21 +0000 (18:25 +0200)]
MS-Windows followup to latest gnulib update
* nt/gnulib.mk (EXTRA_DIST): Add ignore-value.h.
Paul Eggert [Mon, 4 Jan 2016 07:51:44 +0000 (23:51 -0800)]
Spelling fix
Jens Lechtenboerger [Mon, 4 Jan 2016 00:56:11 +0000 (01:56 +0100)]
Do secure signed Bcc handling
* lisp/gnus/message.el (message-send): Do secure signed Bcc handling
(bug#18718).
Bill Wohler [Mon, 4 Jan 2016 00:05:37 +0000 (16:05 -0800)]
; * .gitignore: Add lisp/mh-e/mh-autoloads.el.
Paul Eggert [Sun, 3 Jan 2016 23:00:49 +0000 (15:00 -0800)]
Avoid stdio in SIGINT handler
* admin/merge-gnulib (GNULIB_MODULES): Add ignore-value.
* lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
* lib/ignore-value.h: New file, from gnulib.
* src/keyboard.c: Include it.
(write_stdout, read_stdin): New functions.
(handle_interrupt): Use them instead of printf and getchar,
and avoid fflush when handling signals.
Paul Eggert [Sun, 3 Jan 2016 22:47:05 +0000 (14:47 -0800)]
* doc/misc/texinfo.tex: Revert unwanted copyright change.
Glenn Morris [Sun, 3 Jan 2016 19:32:57 +0000 (11:32 -0800)]
; * etc/refcards/ru-refcard.tex (cyear): Update via M-x set-copyright.
Eli Zaretskii [Sun, 3 Jan 2016 17:25:19 +0000 (19:25 +0200)]
; * configure.ac: Improve wording of last commit.
Artur Malabarba [Sun, 3 Jan 2016 16:58:35 +0000 (16:58 +0000)]
* lisp/align.el (align): Simplify a lambda
Artur Malabarba [Sun, 3 Jan 2016 16:57:12 +0000 (16:57 +0000)]
* lisp/align.el (align): Fix arg order in call to `align-region'
Michael Albinus [Sun, 3 Jan 2016 16:34:32 +0000 (16:34 +0000)]
* configure.ac: Add error message for gfile on Nextstep.
Eli Zaretskii [Sun, 3 Jan 2016 15:22:06 +0000 (17:22 +0200)]
Fix compilation next-error in buffers with selective-display
* lisp/progmodes/compile.el (compilation-beginning-of-line): New
function.
(compilation-internal-error-properties)
(compilation-next-error-function, compilation-set-window): Use
it. (Bug#1092)
Glenn Morris [Sun, 3 Jan 2016 11:25:27 +0000 (06:25 -0500)]
; Auto-commit of ChangeLog files.
Lars Magne Ingebrigtsen [Sun, 3 Jan 2016 11:19:13 +0000 (12:19 +0100)]
* nsm.el (nsm-check-protocol): Fix typo in the message.
Lars Magne Ingebrigtsen [Sun, 3 Jan 2016 09:41:51 +0000 (10:41 +0100)]
Add SHA1 warnings for high network security settings
* nsm.el (nsm-check-protocol): When using high security, warn
about SHA1 certificates, which are now believed to be open to
spoofing.
K. Handa [Sun, 3 Jan 2016 08:53:43 +0000 (17:53 +0900)]
Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs
John Wiegley [Sun, 3 Jan 2016 07:31:52 +0000 (23:31 -0800)]
Merge branch 'emacs-25-merge'
Xue Fuqiao [Sun, 3 Jan 2016 01:12:56 +0000 (09:12 +0800)]
; * etc/NEWS: Typo fix.
Jens Lechtenboerger [Sun, 3 Jan 2016 01:10:34 +0000 (01:10 +0000)]
Refactor mml-smime.el, mml1991.el, mml2015.el
(Maybe this is the last merge from Gnus git to Emacs git)
Cf. discussion on ding mailing list, messages in
<http://thread.gmane.org/gmane.emacs.gnus.general/86228>.
Common code from the three files mml-smime.el, mml1991.el, and
mml2015.el is moved to mml-sec.el. Auxiliary functions are added
to gnus-util.el.
The code is supported by test cases with necessary test keys.
Documentation in message.texi is updated.
* doc/misc/message.texi (Security, Using S/MIME):
Update for refactoring mml-smime.el, mml1991.el, mml2015.el.
(Using OpenPGP): Rename from "Using PGP/MIME"; update contents.
(Passphrase caching, Encrypt-to-self, Bcc Warning): New sections.
* lisp/gnus/gnus-util.el (gnus-test-list, gnus-subsetp, gnus-setdiff):
New functions.
* lisp/gnus/mml-sec.el: Require gnus-util and epg.
(epa--select-keys): Autoload.
(mml-signencrypt-style-alist, mml-secure-cache-passphrase): Doc fix.
(mml-secure-openpgp-signers): New user option;
make mml1991-signers and mml2015-signers obsolete aliases to it.
(mml-secure-smime-signers): New user option;
make mml-smime-signers an obsolete alias to it.
(mml-secure-openpgp-encrypt-to-self): New user option;
make mml1991-encrypt-to-self and mml2015-encrypt-to-self obsolete
aliases to it.
(mml-secure-smime-encrypt-to-self): New user option;
make mml-smime-encrypt-to-self an obsolete alias to it.
(mml-secure-openpgp-sign-with-sender): New user option;
make mml2015-sign-with-sender an obsolete alias to it.
(mml-secure-smime-sign-with-sender): New user option;
make mml-smime-sign-with-sender an obsolete alias to it.
(mml-secure-openpgp-always-trust): New user option;
make mml2015-always-trust an obsolete alias to it.
(mml-secure-fail-when-key-problem, mml-secure-key-preferences):
New user options.
(mml-secure-cust-usage-lookup, mml-secure-cust-fpr-lookup)
(mml-secure-cust-record-keys, mml-secure-cust-remove-keys)
(mml-secure-add-secret-key-id, mml-secure-clear-secret-key-id-list)
(mml-secure-cache-passphrase-p, mml-secure-cache-expiry-interval)
(mml-secure-passphrase-callback, mml-secure-check-user-id)
(mml-secure-secret-key-exists-p, mml-secure-check-sub-key)
(mml-secure-find-usable-keys, mml-secure-select-preferred-keys)
(mml-secure-fingerprint, mml-secure-filter-keys)
(mml-secure-normalize-cust-name, mml-secure-select-keys)
(mml-secure-select-keys-1, mml-secure-signer-names, mml-secure-signers)
(mml-secure-self-recipients, mml-secure-recipients)
(mml-secure-epg-encrypt, mml-secure-epg-sign): New functions.
* lisp/gnus/mml-smime.el: Require epg;
refactor declaration and autoloading of epg functions.
(mml-smime-use): Doc fix.
(mml-smime-cache-passphrase, mml-smime-passphrase-cache-expiry):
Obsolete.
(mml-smime-get-dns-cert, mml-smime-get-ldap-cert):
Use format instead of gnus-format-message.
(mml-smime-epg-secret-key-id-list): Remove variable.
(mml-smime-epg-passphrase-callback, mml-smime-epg-find-usable-key)
(mml-smime-epg-find-usable-secret-key): Remove functions.
(mml-smime-epg-sign, mml-smime-epg-encrypt): Refactor.
* lisp/gnus/mml1991.el (mml1991-cache-passphrase)
(mml1991-passphrase-cache-expiry): Obsolete.
(mml1991-epg-secret-key-id-list): Remove variable.
(mml1991-epg-passphrase-callback, mml1991-epg-find-usable-key)
(mml1991-epg-find-usable-secret-key): Remove functions.
(mml1991-epg-sign, mml1991-epg-encrypt): Refactor.
* lisp/gnus/mml2015.el (mml2015-cache-passphrase)
(mml2015-passphrase-cache-expiry): Obsolete.
(mml2015-epg-secret-key-id-list): Remove variable.
(mml2015-epg-passphrase-callback, mml2015-epg-check-user-id)
(mml2015-epg-check-sub-key, mml2015-epg-find-usable-key)
(mml2015-epg-find-usable-secret-key): Remove functions.
(mml2015-epg-decrypt, mml2015-epg-clear-decrypt, mml2015-epg-sign)
(mml2015-epg-encrypt): Refactor.
Dmitry Gutov [Sun, 3 Jan 2016 00:03:29 +0000 (02:03 +0200)]
; Clarify that xref is still experimental
Glenn Morris [Sat, 2 Jan 2016 18:33:17 +0000 (10:33 -0800)]
; * admin/release-process: Remove some obsolete records.
Glenn Morris [Sat, 2 Jan 2016 18:16:03 +0000 (10:16 -0800)]
* lisp/progmodes/fortran.el (fortran-make-syntax-propertize-function):
Explicitly ignore case. (Bug#22262)
Stefan Monnier [Sat, 2 Jan 2016 18:03:42 +0000 (13:03 -0500)]
(semantic-symref-derive-find-filepatterns): Return a list
* lisp/cedet/semantic/symref/grep.el
(semantic-symref-derive-find-filepatterns): Return a list.
(semantic-symref-perform-search): Quote the result here once and for all.
Eli Zaretskii [Sat, 2 Jan 2016 16:05:44 +0000 (18:05 +0200)]
; Re-arrange xref-related entries in NEWS.
Vincent Belaïche [Sat, 2 Jan 2016 15:59:42 +0000 (16:59 +0100)]
Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs
Vincent Belaïche [Sat, 2 Jan 2016 15:59:03 +0000 (16:59 +0100)]
Align textually on fix done for emacs-25 branch for bug#21054
* lisp/ses.el (ses-check-curcell): Suppress ``temporary fix'' comment,
and useless `(if t ...)' in order to align textually on fix done for
emacs-25 branch for bug#21054.
Eli Zaretskii [Sat, 2 Jan 2016 15:24:48 +0000 (17:24 +0200)]
Fix xref-find-references on MS-Windows
* lisp/cedet/semantic/symref/grep.el
(semantic-symref-derive-find-filepatterns): Use
'shell-quote-argument' instead of manually quoting in a way that
only works with Posix shells. (Bug#22289)
Anders Lindgren [Sat, 2 Jan 2016 14:54:01 +0000 (15:54 +0100)]
; Fixed visual bell artifact problem on NextStep.
* src/nsterm.m (EmacsBell): Add feature to remove visual bell
unconditionally.
(hide_bell): New function.
(ns_copy_bits): Hide visible bell before scrolling the frame content.
Eli Zaretskii [Sat, 2 Jan 2016 12:48:38 +0000 (14:48 +0200)]
Document new features of tildify-mode
* lisp/textmodes/tildify.el (tildify-foreach-ignore-environments)
(tildify-mode): Spelling fixes in doc strings.
* etc/NEWS: Reformat the tildify-mode entry.
Eli Zaretskii [Sat, 2 Jan 2016 12:06:02 +0000 (14:06 +0200)]
Document new features of Whitespace mode
* doc/emacs/display.texi (Useless Whitespace): Document
'whitespace-toggle-options' and the new 'big-indent' style.
Document 'whitespace-big-indent-regexp'. Document the Global
Whitespace mode.
Eli Zaretskii [Sat, 2 Jan 2016 10:36:28 +0000 (12:36 +0200)]
Improve documentation of new Hide-IfDef features
* etc/NEWS: Expand and reword Hide-IfDef section.
Leo Liu [Sat, 2 Jan 2016 07:48:44 +0000 (15:48 +0800)]
Fix regression in font-locking cl-assert and cl-check-type
* lisp/emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2): Fix
el-errs-re.
K. Handa [Sat, 2 Jan 2016 07:36:21 +0000 (16:36 +0900)]
support rendering of wider range of combinging characters by ftfont backend
* lisp/language/hebrew.el (hebrew-shape-gstring): If the font backend
supports rendering of combining characters, call
font-shape-gstring.
* src/font.c (Ffont_get): Handle `combining-capability' property.
(syms_of_font): New symbol ":combining-capability'.
* src/font.h (struct font_driver): New member combining_capability.
* src/ftfont.c: Include "category.h".
(ftfont_driver): Initialize combining_capability to
ftfont_combining_capability.
(ftfont_shape_by_flt): If OTF is null, try to find a suitable
FLT in advance.
(ftfont_combining_capability): New function.
Xue Fuqiao [Sat, 2 Jan 2016 06:52:57 +0000 (14:52 +0800)]
; * etc/NEWS: Typo fix.
Andrew Hyatt [Fri, 1 Jan 2016 20:07:53 +0000 (15:07 -0500)]
Add notes on bug triage procedure
* CONTRIBUTE: In section on the issue tracker, point to new triage file.
* admin/notes/triage: New file explaining triage procedure.
Glenn Morris [Fri, 1 Jan 2016 12:23:33 +0000 (07:23 -0500)]
; Auto-commit of loaddefs files.
Glenn Morris [Fri, 1 Jan 2016 11:18:06 +0000 (06:18 -0500)]
; Auto-commit of loaddefs files.
Paul Eggert [Fri, 1 Jan 2016 09:58:41 +0000 (01:58 -0800)]
Spelling and grammar fixes
Paul Eggert [Fri, 1 Jan 2016 09:38:07 +0000 (01:38 -0800)]
Fix copyright years by hand
These are dates that admin/update-copyright did not update, or
updated incorrectly.
Paul Eggert [Fri, 1 Jan 2016 09:16:19 +0000 (01:16 -0800)]
Update copyright year to 2016
Run admin/update-copyright.
Paul Eggert [Fri, 1 Jan 2016 09:12:52 +0000 (01:12 -0800)]
Merge from gnulib
This mostly just updates copyright dates of gnulib files.
It also updates to the latest version of texinfo.tex.
Mark Oteiza [Thu, 31 Dec 2015 18:33:35 +0000 (13:33 -0500)]
lisp/emacs-lisp/chart.el (chart-new-buffer): Move to silence byte compiler.
Mark Oteiza [Thu, 31 Dec 2015 18:26:43 +0000 (13:26 -0500)]
Port chart.el methods to cl-generic.
cl-call-next-method cannot be used inside EIEIO's defmethod.
* lisp/emacs-lisp/chart.el: Require cl-generic at compile time.
* lisp/emacs-lisp/chart.el (initialize-instance, chart-draw):
(chart-draw-title, chart-size-in-dir, chart-draw-axis):
(chart-axis-draw, chart-translate-xpos, chart-translate-ypos):
(chart-translate-namezone, chart-draw-data, chart-add-sequence):
(chart-trim, chart-sort): Use cl-defmethod instead of defmethod.
Brian Burns [Thu, 31 Dec 2015 17:00:16 +0000 (19:00 +0200)]
Add nt/INSTALL.W64 build instructions
* nt/INSTALL.W64: New file.
* nt/INSTALL: Point to INSTALL.W64 for 64-bit build instructions.
Joakim Jalap [Thu, 31 Dec 2015 16:01:45 +0000 (18:01 +0200)]
Add new input method 'programmer-dvorak'
* lisp/leim/quail/programmer-dvorak.el ("programmer-dvorak"): New
input method.
* etc/NEWS: Mention it.
Eli Zaretskii [Thu, 31 Dec 2015 15:44:07 +0000 (17:44 +0200)]
Allow to invoke original M-TAB binding in 'flyspell-prog-mode'
* lisp/textmodes/flyspell.el (flyspell-prog-mode): Record the
original M-TAB binding in a buffer-local variable.
(flyspell-auto-correct-word): Invoke the original binding of M-TAB
if that is recorded, when point is in a place where flyspell
should not be active (e.g., because the user turned on
'flyspell-prog-mode'). (Bug#18533)
Eli Zaretskii [Thu, 31 Dec 2015 15:18:25 +0000 (17:18 +0200)]
Fix EWW rendering of long RTL lines
* lisp/net/shr.el (shr-insert-document): Undo any previous hscroll
of the selected window before filling its lines. (Bug#22250)
Vincent Belaïche [Thu, 31 Dec 2015 08:21:46 +0000 (09:21 +0100)]
fix bug#21054
* ses.el (ses-check-curcell): Call `ses-set-curcell' unconditionally
YAMAMOTO Mitsuharu [Thu, 31 Dec 2015 05:18:09 +0000 (14:18 +0900)]
Clean up cairo printing code
* src/gtkutil.c (xg_get_page_setup): Use listn.
* src/xfns.c (Fx_export_frames, Fx_print_frames_dialog): Doc fix. Use
decode_window_system_frame and FRAME_VISIBLE_P.
(Fx_print_frames_dialog): Use redisplay_preserve_echo_area instead
of Fdisplay.
* src/xterm.c (x_cr_export_frames): Use redisplay_preserve_echo_area
instead of Fdisplay. Temporarily unblock_input around QUIT.
YAMAMOTO Mitsuharu [Thu, 31 Dec 2015 02:28:16 +0000 (11:28 +0900)]
Move variables to inner loop, preparing for Mac port merge
* src/keyboard.c (command_loop_1): Move variables `cmd',
`keybuf', and `i' to inner loop.
YAMAMOTO Mitsuharu [Thu, 31 Dec 2015 02:17:35 +0000 (11:17 +0900)]
Add handle_user_signal_hook
* src/keyboard.h (handle_user_signal_hook): New declaration.
* src/keyboard.c (handle_user_signal_hook): New variable.
(handle_user_signal): Call it.
YAMAMOTO Mitsuharu [Thu, 31 Dec 2015 01:59:40 +0000 (10:59 +0900)]
Avoid writing to purespace
* src/alloc.c (Fmake_string): Don't write to empty string contents.
(allocate_vector): Don't write to empty vector size.
* src/character.h (CHECK_CHARACTER_CAR, CHECK_CHARACTER_CDR):
Don't call unnecessary XSETCAR or XSETCDR.
* src/lisp.h (STRING_SET_UNIBYTE, STRING_SET_MULTIBYTE): Don't
write to empty string size_byte.
YAMAMOTO Mitsuharu [Thu, 31 Dec 2015 01:43:57 +0000 (10:43 +0900)]
Remove unused variable
* lisp/international/mule-cmds.el: Remove unused variable
`mac-system-coding-system'.
YAMAMOTO Mitsuharu [Thu, 31 Dec 2015 01:37:15 +0000 (10:37 +0900)]
* configure.ac: Find libxml2 headers in Xcode SDK dir on Darwin.
YAMAMOTO Mitsuharu [Thu, 31 Dec 2015 01:24:12 +0000 (10:24 +0900)]
Use posix_openpt instead of openpty on Darwin
* configure.ac (PTY_ITERATION, FIRST_PTY_LETTER, PTY_OPEN)
(PTY_NAME_SPRINTF, PTY_TTY_NAME_SPRINTF): Remove
Darwin-specific definitions. Use posix_openpt instead.
Vincent Belaïche [Wed, 30 Dec 2015 23:10:37 +0000 (00:10 +0100)]
Correct ses-rename-cell cursor-intangible text prop updating.
There were two problems:
- First ses-rename-cell has to work when called non interactively
(with non-nil CELL argument), so in this case the start pos of
put-text-property cannot be plainly (point), you need a
ses-goto-print call before
- Second, the range itself was computed erronously, only the first
char was affected instead of the full cell width. This was not
noticeable prior to changes (Deprecate `intangible' and
`point-entered' properties) made by Stefan on 2015-04-13T19:51:15Z
* lisp/ses.el (ses-rename-cell): Correct computation of position range
to which the 'cursor-intangible text property has to be set to cell
new name.
Shakthi Kannan [Wed, 30 Dec 2015 17:59:12 +0000 (19:59 +0200)]
Document support for ':documentation' in Lisp mode
* lisp/emacs-lisp/lisp-mode.el (lisp-string-in-doc-position-p)
(lisp-string-after-doc-keyword-p)
(lisp-font-lock-syntactic-face-function): Add doc strings.
Shakthi Kannan [Wed, 30 Dec 2015 17:46:55 +0000 (19:46 +0200)]
Document new features of TeX mode
* doc/emacs/text.texi (TeX Print): Document
'tex-print-file-extension'.
* doc/emacs/programs.texi (Misc for Programs): Document support
for Prettify Symbols mode in TeX mode.
Eli Zaretskii [Wed, 30 Dec 2015 17:13:44 +0000 (19:13 +0200)]
Clarify docs of hscroll in RTL text
* doc/lispref/windows.texi (Horizontal Scrolling): Clarify the
meaning of a window's horizontal scroll amount for RTL paragraphs.
Eli Zaretskii [Wed, 30 Dec 2015 17:00:19 +0000 (19:00 +0200)]
Fix rendering of HTML pages that use character composition
* src/indent.c (Fvertical_motion): Fix the case when point starts
in the middle of a composition, as in shr-vertical-motion.
(Bug#22250)
Vincent Belaïche [Wed, 30 Dec 2015 11:37:54 +0000 (12:37 +0100)]
Don't fake empty cells value by "" when printing with a lambda.
When using a lambda expression printer function the user should be
free to format differently a really empty cell, ie. containing nil,
from a cell containing an empty string "".
* ses.el (ses-call-printer): Replace `(or value "")' by just `value'
in the case of a lambda expression printer function.
* ses.texi (Printer functions): Add example and description about
lambda expression printer function handling all the possible values,
including unexpected ones.
Vincent Belaïche [Wed, 30 Dec 2015 10:57:29 +0000 (11:57 +0100)]
Quick temporary hack to fix curcell refreshing.
The problem was caused by change: 2015-04-13 Deprecate `intangible'
and `point-entered' properties. The problem is that this change has
removed the (setq ses--curcell t) setting in the ses-command-hook
function.
* ses.el (ses-check-curcell): replace `(eq ses--curcell t)' by just `t' as
a condition to call function `ses-set-curcell'. Comment this as a quick
temporary hack to make it work, as I don't know yet whether a definite
correction would be to make the ses-set-curcell at every ses-check-curcell,
or to revert to the previous approach, ie marking ses--curcell as out-of-date
at every potentially cursor motion command.
Eli Zaretskii [Wed, 30 Dec 2015 16:26:56 +0000 (18:26 +0200)]
Avoid some compiler warnings in w32.c
* src/w32.c (codepage_for_filenames, crlf_to_lf)
(ansi_encode_filename, socket_to_fd, sys_write)
(check_windows_init_file): Avoid compiler warnings about
differences in pointer signedness.
Lars Magne Ingebrigtsen [Wed, 30 Dec 2015 09:11:34 +0000 (10:11 +0100)]
Restrictive URL checking tweaks
* lisp/net/eww.el (eww): Check whether the domain is
restrictive instead of the string
(http://македонија.icom.museum is restrictive even if each
part is from a different script).
Lars Magne Ingebrigtsen [Wed, 30 Dec 2015 09:10:20 +0000 (10:10 +0100)]
New function `puny-highly-restrictive-domain-p'
* lisp/net/puny.el (puny-highly-restrictive-string-p): Rename.
(puny-highly-restrictive-domain-p): New function.
Lars Magne Ingebrigtsen [Wed, 30 Dec 2015 09:00:15 +0000 (10:00 +0100)]
eww build fix (require puny)